{if (request()->isAjax() == false)}
<!DOCTYPE html>
<html>
<head>
    <title>{$title|default=''}</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="https://cdn.bootcss.com/jquery/3.4.1/core.js"></script>
    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.js"></script>
    <link href="https://cdn.bootcss.com/twitter-bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.bootcss.com/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
    <link href="{$STATIC_PATH}layer_mobile/need/layer.css" rel="stylesheet">
    <link href="{$STATIC_PATH}css/basic.css" rel="stylesheet">
    <script src="{$STATIC_PATH}layer_mobile/layer.js"></script>
    <script src="{$STATIC_PATH}js/basic.js"></script>
</head>
<style>
</style>
<body>
<div class="header col-xs-12" style="border-bottom: 0.3px solid;;padding-bottom: 1%; position:relative;margin-top:1%">
    <div class="pull-left text-left color-grey" onclick="history.back()" style="width: 30%;font-size:1.8rem">
        <i class="glyphicon glyphicon-chevron-left "></i>
    </div>
    <div class="color-grey text-center header-title" style="width: 40%;float: left;font-size:1.6rem"></div>
    <div class="pull-right text-right color-grey" style="width: 30%;font-size:1.8rem">
        {empty name="hide_nav"}
        <i class="glyphicon glyphicon-th-list p-r-md m-r-lg" onclick="show_nav()"></i>
        <i class="p-l-md p-r-md glyphicon glyphicon-user" onclick="location.href='{:merge_url('member/navigator');}'"></i>
        {else /}
        <i class="p-l-md glyphicon glyphicon-user" onclick="location.href='{:merge_url('member/register');}'">
        </i>
        <span style="font-size:1.6rem;text-align: center" class='p-l-xs' onclick="location.href='{:merge_url('member/register');}'">注册</span>
        {/empty}
    </div>
</div>
<div id="layout_content" class="container" style="width: auto;">
    {/if}
    {__CONTENT__}
    {if (request()->isAjax() == false)}
</div>
</body>
<script>
    function show_nav() {
        var hide_content_form_div = $('#hide_nav').first();
        layer.open({
            content: hide_content_form_div.html(),
            style: 'position:relative;top:-30px',
        });
    }
</script>
<!--<div class="hide header-nav col-xs-6 col-xs-offset-6" id="hide_nav" style="width: auto;position: fixed;background-color: white;top:3%;">-->
<!--    <ul class="nav nav-pills nav-stacked">-->
<!--        <li role="presentation" class="color-grey"><a href="{:merge_url('plan/plan_list');}">时间规划</a></li>-->
<!--        <li role="presentation" class="color-grey"><a href="{:merge_url('half/half_list');}">时间记录</a></li>-->
<!--    </ul>-->
<!--</div>-->
<footer>
    <div class="col-xs-12 text-center" style="margin-top: 40%;margin-bottom: 3%">
        <h5>粤ICP备18037007号-2</h5>
        <div class="text-center col-xs-12"><a href="http://www.beian.miit.gov.cn">工信部官网</a></div>
    </div>
</footer>
</html>
{/if}